<script lang="ts" setup>
import { ref } from 'vue';
import { useLocale } from '@/locale/locale';

defineProps<{
  content?: string;
}>();

const { t } = useLocale();
const popupRef = ref();

defineExpose({
  open() {
    popupRef.value.open();
  }
});
</script>

<template>
  <apt-popup ref="popupRef" :show-confirm-btn="false" :title="t('LOKey_orderCheckInRead')">
    <view class="text-base text-primary">{{ content }}</view>
    <view class="h-10"></view>
  </apt-popup>
</template>
